'use strict';
app.controller('&LFobjectname&Controller', function ($controller,$scope, $rootScope, $filter, BaseService) {

  $scope.currentDataVar="&LFobjectname&PageInfo";
    $scope.currentItemDataVar="&LFobjectname&Item";
    $scope.currentQueryUrl="/mobile/&LFobjectname&/queryByExamplePage";
    $scope.currentsearchModel="&LFobjectname&List";
    $scope.currentvalue = "我的客户";
    $scope.security = 'my';
    $rootScope.ALL_TOP_SHOW = [
        {value: '我的客户', security: 'my'},
        {value: '我组织的客户', security: 'org'},
        {value: '我及我下级组织的客户', security: 'subOrg'},
        {value: '所有客户', security: 'all'}
    ];
    $scope.ItemPagePath="html/&LFobjectname&/&LFobjectname&ItemMain.html";
    $scope[$scope.currentDataVar] = {
        url: ROOT.__URL__ + $scope.currentQueryUrl,
        params: {}
    };
    angular.extend(this, $controller('BasicListController', {$scope: $scope}));
    $scope.initData();
    angular.element(document).ready(function () {
    });
});
